<template>
  <div>
    <el-card shadow="always">
       <go-back ></go-back>
      <h1>{{ tableData7.schoolName }}</h1>
      <el-row>
        <el-col :span="12">
          <div>统一社会信用代码：{{ tableData7.identify }}</div>
        </el-col>
        <el-col :span="12">
          <div>
          区域街道：{{ tableData7.districtName }}-{{ tableData7.streetName }}
          </div>
        </el-col>
      </el-row>
      <rz-height />
      <div>学校地址：{{ tableData7.address }}</div>
      <rz-height />
      <el-tabs v-model="active">
        <el-tab-pane label="学校信息" name="1">
          <el-form :model="tableData7" label-width="130px">

 <el-row>
              <el-col :span="12">
                <el-form-item label="学校名称">
                  <div>{{ tableData7.schoolName }}</div>
                </el-form-item>
              </el-col>
                <el-col :span="12">
                <el-form-item label="统一社会信用代码">
                  <div>{{ tableData7.identify }}</div>
                </el-form-item>
              </el-col>
             
            </el-row>
 <el-row>
            
              <el-col :span="12">
                <el-form-item label="区域街道" prop="name">
                 {{ tableData7.districtName }}-{{ tableData7.streetName }}
                </el-form-item>
              </el-col>
             
              <el-col :span="12">
                <el-form-item label="学校地址">
                  <div>{{ tableData7.address }}</div>
                </el-form-item>
              </el-col>
            </el-row>













            <el-row>
              <el-col :span="12">
                <el-form-item label="供餐方式" prop="name">
                  <div>{{ tableData7.cateringMethod }}</div>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="食堂数量" prop="name">
                  <div>{{ tableData7.canteensNumber }}</div>
                </el-form-item>
              </el-col>
           
            </el-row>

            <el-row>
                 <el-col :span="12">
                <el-form-item label="其他经营主体数量" prop="name">
                  <div>{{ tableData7.otherNumber }}</div>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="学校办学类型" prop="name">
                  <div>{{ tableData7.schoolType }}</div>
                </el-form-item>
              </el-col>
           
            </el-row>


       <el-row>

   <el-col :span="12">
                <el-form-item label="学校性质" prop="name">
                  <div>{{ tableData7.schoolNature }}</div>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="学校统计分类" prop="name">
                  <div>{{ tableData7.schoolClassification }}</div>
                </el-form-item>
              </el-col>

</el-row>



            <el-row>
              <el-col :span="24">
                <el-form-item label="主管部门" prop="name">
                  <div>{{ tableData7.competentDepartment }}</div>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </el-tab-pane>
        <el-tab-pane label="食堂信息" name="2">
          <el-table border :data="tableData8" style="width: 100%" stripe>
                 <el-table-column
              prop="modeOfOperation"
              label="经营方式"
              width="100"
            ></el-table-column>
            <el-table-column
              prop="canteenName"
              label="食堂名称"
              width="220"
            ></el-table-column>
            <el-table-column
              prop="newlicenseno"
              label="食品经营许可证号"
              width="150"
            >
<template slot-scope="scope">
					<span @click="score(scope.row.newlicenseno)" style="color:#1890ff;cursor: pointer;">
						{{ scope.row.newlicenseno
						}}
					</span>
				</template>
            
            </el-table-column>
            <el-table-column
              prop="address"
              label="经营地址"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="businessscope"
              label="经营项目"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="certificationcreatedateStr"
              label="许可证发证日期"
              width="120"
            ></el-table-column>
            <el-table-column
              prop="validitydateStr"
              label="许可证有效期至"
              width="120"
            ></el-table-column>
            <!-- <el-table-column
              prop=""
              label="食堂食品安全负责人"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="联系方式"
              width="180"
            ></el-table-column>

            <el-table-column
              prop=""
              label="食堂食品安全总监"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="联系方式"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="食堂食品安全员"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="联系方式"
              width="180"
            ></el-table-column> -->
            <el-table-column
              prop="studentDiningNumber"
              label="用餐学生人数"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="insuranceLevel"
              label="包保等级"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="insuranceCadres"
              label="包保干部"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="insuranceCadresMobile"
              label="联系方式"
              width="150"
            ></el-table-column>

            <el-table-column
              prop="kitchenArea"
              label="后厨面积(㎡)"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="subBureauName"
              label="辖区分局"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="employeesNumber"
              label="从业人员数量"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="mealSituation"
              label="营养/陪餐情况"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="canteenClassification"
              label="食材采购类别"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="evaluationGrade"
              label="量化分级"
              width="80"
            ></el-table-column>
            <el-table-column
              prop="isHaveDwmStr"
              label="建立“日管控、周排查、月调度”工作机制"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="advancedManagementModeStr"
              label="实施五常、6T等先进管理模式"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="haccpOrIso22000Str"
              label="建立HACCP或ISO22000管理体系"
              width="150"
            ></el-table-column>

            <el-table-column
              prop="centralizedprocurementStr"
              label="公开招标、集中定点采购"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="ingredienttraceabilityStr"
              label="纳入食材追溯系统"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="transparentkitchenStr"
              label="明厨亮灶"
              width="120"
            ></el-table-column>

            <el-table-column
              prop="videoshowcaseStr"
              label="明厨亮灶为视频展示"
              width="120"
            ></el-table-column>
            <el-table-column
              prop="internetplustransparentkitStr"
              label="互联网+明厨亮灶"
              width="120"
            ></el-table-column>
            <el-table-column
              prop=""
              label="委托/承包企业 食品经营许可证号"
              width="180"
            > 
                    <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].newlicenseno}}</div>
            </template>
            </el-table-column>
            <el-table-column
              prop=""
              label="委托/承包企业社会信用代码"
              width="180"
            >
               <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].identify}}</div>
            </template>
            </el-table-column>

            <el-table-column
              prop=""
              label="委托/承包企业名称"
              width="180"
            >
            
              <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].canteenContractName}}</div>
            </template>
            </el-table-column>

            <el-table-column
              prop=""
              label="经营场所"
              width="180"
            >
                 
              <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].address}}</div>
            </template>
            </el-table-column>

            <el-table-column
              prop=""
              label="许可证发证日期"
              width="180"
            >
                    <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].createDateStr}}</div>
            </template>
            </el-table-column>
            <el-table-column
              prop=""
              label="许可证有效期至"
              width="180"
            >
            
                    <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].updateDateStr}}</div>
            </template>
            </el-table-column>
            <el-table-column
              prop=""
              label="经营项目"
              width="180"
            >
                  <template slot-scope="scope" v-if="scope.row.findSchoolCanteenContractResponseList.length">
              <div>{{scope.row.findSchoolCanteenContractResponseList[0].businessscope}}</div>
            </template>
            </el-table-column>

            <el-table-column
              prop="legal"
              label="负责人"
              width="180"
            >
            </el-table-column>
            <el-table-column
              prop="mobile"
              label="联系方式"
              width="180"
            ></el-table-column>


              <el-table-column
              prop=""
              label="操作"
              width="100"
              fixed="right"
            >
               <template slot-scope="scope">
              <el-button  size="mini" @click="view(scope.row)"
                >查看</el-button
              >
            </template>
            
            </el-table-column>
          </el-table>
        </el-tab-pane>

        <el-tab-pane label="校内其他经营单位" name="3">
          <el-table border :data="tableData3" style="width: 100%" stripe>
            <el-table-column
              prop="newlicenseno"
              label="食品经营许可证号"
                 width="180"
            ></el-table-column>
            <el-table-column
              prop="identify"
              label="统一社会信用代码"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="unitName"
              label="经营主体名称"
            ></el-table-column>
            <el-table-column
              prop="legal"
              label="负责人"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="businessscope"
              label="经营范围"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="unitName"
              label="经营场所"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="contactPerson"
              label="联系人"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="contactMethod"
              label="联系方式"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="备注"
              width="180"
            ></el-table-column>
          </el-table>
        </el-tab-pane>
        <el-tab-pane label="校外供餐单位" name="4">
          <el-table border :data="tableData4" style="width: 100%" stripe>
                   <el-table-column
              prop="newlicenseno"
              label="食品经营许可证号"
              width="180"
            >
            <template slot-scope="scope">
					<span @click="score(scope.row.newlicenseno)" style="color:#1890ff;cursor: pointer;">
						{{ scope.row.newlicenseno
						}}
					</span>
				</template>
            
            </el-table-column>
            <el-table-column
              prop="unitName"
              label="校外供餐单位名称"
                    width="180"
            ></el-table-column>
     
            <el-table-column
              prop="identify"
              label="统一社会信用代码"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="legal"
              label="企业负责人"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="经营场所"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="safetyRating"
              label="食品安全量化分级等级"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="食品安全负责人"
              width="180"
            ></el-table-column>

            <el-table-column
              prop=""
              label="食品安全总监"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="食品安全员"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="是否建立“日管控、周排查、月调度”工作机制"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="hasDailyControlStr"
              label="是否建立HACCP或ISO22000管理体系（填写具体体系名称"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="transparentkitchenStr"
              label="是否实施“明厨亮灶”"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="internetplustransparentkitStr"
              label="是否实施“互联网+明厨亮灶”"
              width="180"
            ></el-table-column>

            <el-table-column
              prop=""
              label="配送学校"
              width="180"
            ></el-table-column>

            <el-table-column
              prop=""
              label="学校每日供餐餐次（次）"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="学校单餐实际配送量（人份，按最大量填写）"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="deliveryType"
              label="配送形式（冷链配送或热链配送）"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="deliveryDistanceStr"
              label="配送距离（公里）"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="mealFormat"
              label="供餐形式（盒饭或桶饭）"
              width="180"
            ></el-table-column>
            <el-table-column
              prop=""
              label="企业每日总供餐量（人份）"
              width="180"
            ></el-table-column>

            <el-table-column
              prop="lastInspectionResult"
              label="最近一次监督检查情况（填责令整改、行政处罚、吊销许可证等，如无上述情况，填“无”）"
              width="180"
            ></el-table-column>
            <el-table-column prop="" label="备注" width="180"></el-table-column>
          </el-table>
        </el-tab-pane>
        <el-tab-pane label="食材配送单位" name="5">
          <el-table border :data="tableData5" style="width: 100%" stripe>
            <el-table-column prop="" label="食材配送单位及配送学校" align="center">
              <el-table-column
                prop="newlicenseno"
                label="食品经营许可证号"
                     width="180"
              >
              <template slot-scope="scope">
					<span @click="score(scope.row.newlicenseno)" style="color:#1890ff;cursor: pointer;">
						{{ scope.row.newlicenseno
						}}
					</span>
				</template>
              
              </el-table-column>
              <el-table-column
                prop="identify"
                label="统一社会信用代码"
                width="180"
              ></el-table-column>
              <el-table-column
                prop="unitName"
                label="食材配送单位名称"
                width="180"
              ></el-table-column>
              <el-table-column
                prop="legal"
                label="负责人"
                width="90"
              ></el-table-column>
              <el-table-column
                prop="businessscope"
                label="经营范围"
                width="480"
              ></el-table-column>

              <el-table-column
                prop="address"
                label="经营场所"
                width="180"
              ></el-table-column>
              <el-table-column
                prop="contactPerson"
                label="联系人"
                width="100"
              ></el-table-column>
              <el-table-column
                prop="contactMethod"
                label="联系方式"
                width="120"
              ></el-table-column>
       
              <el-table-column
                prop="warehouseAddress"
                label="仓库地址"
                width="180"
              ></el-table-column>
              <el-table-column
                prop="warehouseArea"
                label="仓库面积"
                width="180"
              ></el-table-column>
              <el-table-column
                prop="refrigeratedVehicles"
                label="冷藏运输车辆数"
                width="180"
              ></el-table-column>
                       <el-table-column
                prop="deliveryCategories"
                label="配送品类   （大类）"
                width="180"
              ></el-table-column>
            </el-table-column>

            <el-table-column prop="" label="上游供应商信息" width="180" align="center">



 <el-table-column
                prop="supIdentify"
                label="统一社会信用代码"
                width="180"
              ></el-table-column>

  <el-table-column
                prop="supUnitName"
                label="供货商(种植基地)名称"
                width="180"
              ></el-table-column>
 

  <el-table-column
                prop="supAddress"
                label="地址"
                width="180"
              ></el-table-column>
     

           
      
            </el-table-column>
            <el-table-column prop="remarks" label="备注" width="180"></el-table-column>
          </el-table>
        </el-tab-pane>
        <el-tab-pane label="预包装食品" name="6">
          <el-table border :data="tableData6" style="width: 100%" stripe>
            <el-table-column prop="unitName" label="食品生产企业名称"       width="250"></el-table-column>
            <el-table-column
              prop="newlicenseno"
              label="食品生产许可证号"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="identify"
              label="统一社会信用代码"
              width="180"
            ></el-table-column>
            <el-table-column
              prop="address"
              label="生产地址"
              min-width="180"
            ></el-table-column>
            <el-table-column
              prop="category"
              label="品类（面包糕点、牛奶、速冻食品、粮油、调料等）"
              width="200"
            ></el-table-column>
            <el-table-column
              prop="foodname"
              label="预包装食品名称"
              width="120"
            ></el-table-column>
            <el-table-column
              prop="creditRating"
              label="企业信用等级"
              width="120"
            ></el-table-column>
            <el-table-column
              prop="supervisionOrPenalty"
              label="监管或处罚情况"
              width="120"
            ></el-table-column>
            <el-table-column prop="" label="备注" width="180"></el-table-column>
          </el-table>
        </el-tab-pane>
      </el-tabs>





 
       


    <rz-dialog
      :dialogVisible.sync="dialogVisible"
      title="食堂基本信息"
      width="60%"
      :isShowConfirm="false"
    >
     <h2>食堂基本信息</h2>
      <el-form ref="form" :model="form" label-width="140px">
       <el-row>
          <el-col :span="12">
            <el-form-item label="食堂名称">
             {{form.canteenName}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="食品经营许可证号">
              {{form.newlicenseno}}
            </el-form-item></el-col
          >
        </el-row>


    <el-row>
          <el-col :span="12">
            <el-form-item label="经营地址">
             {{form.address}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="经营项目">
              {{form.businessscope}}
            </el-form-item></el-col
          >
        </el-row>

   <el-row>
          <el-col :span="12">
            <el-form-item label="许可证发证日期">
             {{form.certificationcreatedateStr}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="许可证有效期至">
              {{form.validitydateStr}}
            </el-form-item></el-col
          >
        </el-row>



           <el-row>
          <el-col :span="12">
            <el-form-item label="用餐学生人数">
             {{form.studentDiningNumber}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="包保等级">
              {{form.insuranceLevel}}
            </el-form-item></el-col
          >
        </el-row>


         <el-row>
          <el-col :span="12">
            <el-form-item label="包保干部">
             {{form.insuranceCadres}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="联系方式">
              {{form.insuranceCadresMobile}}
            </el-form-item></el-col
          >
        </el-row>




      <el-row>
          <el-col :span="12">
            <el-form-item label="后厨面积(㎡)">
             {{form.kitchenArea}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="辖区分局">
              {{form.subBureauName}}
            </el-form-item></el-col
          >
        </el-row>

            

     <el-row>
          <el-col :span="12">
            <el-form-item label="从业人员数量">
             {{form.employeesNumber}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="营养/陪餐情况">
              {{form.mealSituation}}
            </el-form-item></el-col
          >
        </el-row>



  <el-row>
          <el-col :span="12">
            <el-form-item label="食材采购类别">
             {{form.canteenClassification}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="量化分级">
              {{form.evaluationGrade}}
            </el-form-item></el-col
          >
        </el-row>

          



  <el-row>
          <el-col :span="12">
            <el-form-item label="建立“日管控、周排查、月调度”工作机制">
             {{form.isHaveDwmStr}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="实施五常、6T等先进管理模式">
              {{form.advancedManagementModeStr}}
            </el-form-item></el-col
          >
        </el-row>





  <el-row>
          <el-col :span="12">
            <el-form-item label="建立HACCP或ISO22000管理体系">
             {{form.haccpOrIso22000Str}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="公开招标、集中定点采购">
              {{form.centralizedprocurementStr}}
            </el-form-item></el-col
          >
        </el-row>


          
           <el-row>
          <el-col :span="12">
            <el-form-item label="纳入食材追溯系统">
             {{form.ingredienttraceabilityStr}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="明厨亮灶">
              {{form.internetplustransparentkitStr}}
            </el-form-item></el-col
          >
        </el-row>




         <el-row>
          <el-col :span="12">
            <el-form-item label="其中，明厨亮灶为视频展示">
             {{form.videoshowcaseStr}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="互联网+明厨亮灶">
              {{form.internetplustransparentkitStr}}
            </el-form-item></el-col
          >
        </el-row>


      <el-row>
          <el-col :span="12">
            <el-form-item label="经营方式">
             {{form.modeOfOperation}}
            </el-form-item></el-col
          >
          <el-col :span="12" v-if="form.modeOfOperation!='自营'">
            <el-form-item label="委托/承包企业 食品经营许可证号">
              {{form.internetplustransparentkitStr}}
            </el-form-item></el-col
          >
        </el-row>
      



    <div v-if="form.modeOfOperation!='自营'">
              <el-row>
          <el-col :span="12">
            <el-form-item label="委托/承包企业社会信用代码">
             {{form.modeOfOperation}}
            </el-form-item></el-col
          >
          <el-col :span="12">
            <el-form-item label="委托/承包企业名称">
              {{form.internetplustransparentkitStr}}
            </el-form-item></el-col
          >
        </el-row>
            
                 <el-row>
          <el-col :span="12">
            <el-form-item label="经营场所">
             {{form.modeOfOperation}}
            </el-form-item></el-col
          >
            <el-col :span="12">
            <el-form-item label="许可证发证日期">
             
            </el-form-item></el-col
          >
        </el-row>

            

          <el-row>
          <el-col :span="12">
            <el-form-item label="许可证有效期至">
            </el-form-item></el-col
          >
            <el-col :span="12">
            <el-form-item label="经营项目">
             
            </el-form-item></el-col
          >
        </el-row>
  
      <el-row>
          <el-col :span="12">
            <el-form-item label="负责人">
            </el-form-item></el-col
          >
            <el-col :span="12">
            <el-form-item label="联系方式">
             
            </el-form-item></el-col
          >
        </el-row>
    </div>
  <h2>食堂三类人</h2>
 <el-table border :data="form.findSchoolCanteenPersonResponseList" style="width: 100%" stripe>
            <el-table-column
              prop="personName"
              label="姓名"
            ></el-table-column>
                 <el-table-column
              prop="personType"
              label="人员类别"
            ></el-table-column>
                 <el-table-column
              prop="personMobile"
              label="联系方式"
            ></el-table-column>
 </el-table>

       <!--   <el-row>
          <el-col :span="12">
            <el-form-item label="就餐人数">
              {{ form.dining }}
            </el-form-item>
          </el-col>

          <el-col :span="12">
            <el-form-item label="纳入食材追溯系统" prop="reviewSystem">
              <div v-if="form.reviewSystem == '1'">是</div>
              <div v-else-if="form.reviewSystem == '0'">否</div>
            </el-form-item></el-col
          >
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="明厨亮灶">
              <div v-if="form.brightStove == '1'">是</div>
              <div v-else-if="form.brightStove == '0'">否</div>
            </el-form-item></el-col
          >

          <el-col :span="12">
            <el-form-item label="互联网+明厨亮灶">
              <div v-if="form.internetBrightStove == '1'">是</div>
              <div v-else-if="form.internetBrightStove == '0'">否</div>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="食堂分类">
              {{ form.canteenStatistics }}
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="是否建立HACCP或ISO22000管理体系">
              <div v-if="form.system == '1'">是</div>
              <div v-else-if="form.system == '0'">否</div>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="公开招标、集中定点采购">
              <div v-if="form.inviteTenders == '1'">是</div>
              <div v-else-if="form.inviteTenders == '0'">否</div>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="是否实施五常、6T等食品安全管理">
              <div v-if="form.effectWuChang == '1'">是</div>
              <div v-else-if="form.effectWuChang == '0'">否</div>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="24">
            <el-form-item label="学校主管部门" prop="schoolDepartment">
              {{ form.schoolDepartment }}
            </el-form-item>
          </el-col>
        </el-row>
     -->
      </el-form>
    </rz-dialog>
















    </el-card>
  </div>
</template>
<script>
import {
  business,
  food,
  delivery,
  prepackaged,
  canteen,
  findById,
  findByIdCanteen,
  licenseAcquisitionId
} from "@/api/modules/enterprise";
export default {
  // props:[],
  // 页面加载
  created() {
    this.getList();
  },
  // 页面加载完成
  mounted() {},
  //实例销毁之前
  beforeDestroy() {},
  //实例销毁后
  destroyed() {},
  data() {
    return {
      active: "1",
      tableData3: [],
      tableData4: [],
      tableData5: [],
      tableData6: [],
      tableData7: {},
      tableData8: [],
      dialogVisible:false,
      form:{}
    };
  },
  // 方法
  methods: {
    	async score(e) {

	const res = await licenseAcquisitionId({
		params:{
			newLicenseNo:e
		}
	});
      sessionStorage.setItem("newLicenseNo", e);
      sessionStorage.setItem("interpretation", res.data);
    this.$router.push({
        path: "/interpretation/home?url=/foodSafety/archives/archives",
        // query: { id: e.id },
      });
    },
    async getList() {
      let res = await business({
        isPage: 1,
        fschoolId: this.$route.query.id,
        page: 0,
        pageSize: 0,
        unitName: "",
      });
      this.tableData3 = res.data;
      let res1 = await food({
        isPage: 1,
        fschoolId: this.$route.query.id,
        page: 0,
        pageSize: 0,
        unitName: "",
      });
      this.tableData4 = res1.data.list;

      let res2 = await delivery({
        isPage: 1,
        fschoolId: this.$route.query.id,
        page: 0,
        pageSize: 0,
        unitName: "",
      });
      this.tableData5 = res2.data.list;

      let res3 = await prepackaged({
        isPage: 1,
        fschoolId: this.$route.query.id,
        page: 0,
        pageSize: 0,
        unitName: "",
      });
      this.tableData6 = res3.data;
      let res4 = await findById({
        params: {
          id: this.$route.query.id,
        },
      });
      this.tableData7 = res4.data;
      let res5 = await canteen({
        isPage: 1,
        fschoolId: this.$route.query.id,
        page: 0,
        pageSize: 0,
        unitName: "",
      });
      this.tableData8 = res5.data;
    },
   async view(e){
      // console.log(1221);
  let res = await findByIdCanteen({
       params:{
        id:e.id
       }
      });
      this.form=res.data
      this.dialogVisible=true
    }
  },
  // 监听属性
  watch: {},
  // 组件
  components: {},
  // 计算属性
  computed: {},
};
</script>

<style lang="scss" scoped>
</style>
